package org.zcl.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * @PROJECT_NAME:
 * @DESCRIPTION:
 * @USER: ZhuChengLin
 * @DATE: 2021/11/25 13:05
 */
@Data
@Builder
public class ApiResponse<T> {
    @ApiModelProperty("返回码")
    private String code;
    @ApiModelProperty("数据")
    private T data;
    @ApiModelProperty("返回附加信息")
    private String msg;
    @ApiModelProperty("错误信息")
    private String errMsg;
}
